package com.lp.common.constant;

/**
 * @program: backend
 * @description:
 * @author: Ke.Song
 * @since: 2024-04-05 22:56:09
 */
public class OrderConstant {

    /**
     * 订单状态：赠送
     */
    public static final int STATUS_GIVE = 0;

    /**
     * 订单状态：未支付
     */
    public static final int STATUS_UNPAID = 1;

    /**
     * 订单状态：已支付
     */
    public static final int STATUS_PAID = 2;

    /**
     * 订单状态：主动取消
     */
    public static final int STATUS_CANCELED = 3;

    /**
     * 订单状态：超时取消
     */
    public static final int STATUS_TIME_OUT_CANCELED = 4;

    /**
     * 订单状态：支付失败
     */
    public static final int STATUS_FAIL = 5;

    /**
     * 订单状态：退款失败
     */
    public static final int STATUS_REFUND_FAIL = 6;

    /**
     * 订单状态：退款成功
     */
    public static final int STATUS_REFUND_SUCCESS = 7;

    /**
     * 订单类型：会员
     */
    public static final int ORDER_TYPE_MEMBERS = 0;

    /**
     * 订单类型：共读会
     */
    public static final int ORDER_TYPE_READING = 1;

    /**
     * 订单类型：训练营
     */
    public static final int ORDER_TYPE_TRAINING = 2;

    /**
     * 订单类型：课程
     */
    public static final int ORDER_TYPE_COURSE = 3;

    /**
     * 交易类型：赠送
     */
    public static final int TRADE_TYPE_GIVE = 0;

    /**
     * 交易类型：购买
     */
    public static final int TRADE_TYPE_BUY = 1;
}
